body {
  min-width: 280px;
}

body > .container-fluid {
  padding: 25px;
}

body > .navbar:after {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  content: '';
  display: block;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform-origin: 0 0;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  z-index: 2;
}

.card.selected {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px;
}

.card-img-top {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
  height: 360px;
  opacity: 0.8;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.card.selected .card-img-top {
  opacity: 1;
}

#introduction p {
  margin-bottom: 0.5rem;
}

#introduction p:last-child {
  margin-bottom: 0;
}

.nav-tabs {
  border-bottom: none;
  justify-content: center;
  margin: 0;
}

.nav-tabs .nav-item {
  padding: 0 15px 25px;
}

.nav-tabs .nav-link {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.nav-tabs .nav-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(108,117,125,.5);
  outline: 0;
}

.nav-tabs .nav-link:hover {
  color: #ffffff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  border-color: #28a745;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px;
  color: #28a745;
}

.nav-tabs .nav-item.show .nav-link:focus,
.nav-tabs .nav-link.active:focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.nav-tabs .nav-item.show .nav-link:hover,
.nav-tabs .nav-link.active:hover {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}

.tab-content {
  margin: 0;
}

.tab-content .tab-pane h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.table td.v-middle {
  vertical-align: middle;
}

#experience .row .col:first-child {
  height: auto;
  overflow-y: auto;
}

#experience .row .col:last-child {
  height: calc(100vw - 20px);
}

#experience .table tr.selected {
  background-color: rgba(0, 0, 0, 0.075);
  color: #28a745;
}

#representative-poems .row .col:first-child {
  margin-bottom: 25px;
}

#representative-poems .catalog-group {
  counter-reset: sectioncounter;
  list-style-type: demical;
}

#representative-poems .list-group-item {
  cursor: pointer;
  list-style-position: outside;
}

#representative-poems .list-group-item.active {
  background-color: transparent;
  border-color: #28a745;
  color: #28a745;
}

#representative-poems .list-group-item:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

#representative-poems .list-group-item:before {
  content: counter(sectioncounter) '.';
  counter-increment:sectioncounter;
  display: inline-block;
  padding-right: 5px;
  text-align: right;
  width: 32px;
}

#representative-poems .content-box {
  background-color: #fdfdfd;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  min-height: 200px;
  padding: 25px;
  text-rendering: optimizeLegibility;
}

#representative-poems .content-box.zh {
  font-family: FangSong, FangSong_GB2312, FZFSK--GBK1-0, adobe-garamond-pro, Garamond, Baskerville, 'Baskerville Old Face', 'Hoefler Text', 'Times New Roman', serif;
}

@media (min-width: 992px) {
  #experience .row .col:first-child,
  #experience .row .col:last-child {
    height: calc(50vw - 10px);
  }

  #representative-poems .row .col:first-child {
    margin-bottom: 0;
  }
}

#earth-div {
  background: linear-gradient(to bottom, #000000 0, #999999 100%);
  height: 100%;
}

#earth-div .zoom-group {
  opacity: 0.8;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
}

#earth-div .zoom-group .btn {
  padding-left: 28px;
  position: relative;
}

#earth-div .zoom-group .btn:before {
  background-size: 16px 16px;
  content: '';
  display: block;
  position: absolute;
  left: 8px;
  top: 7px;
  width: 16px;
  height: 16px;
}

#earth-div .zoom-group .btn:first-child:before {
  background-image: url('/assets/img/zoom_in.png');
}

#earth-div .zoom-group .btn:last-child:before {
  background-image: url('/assets/img/zoom_out.png');
}

#earth-div .we-pp-content {
  display: block;
}

#earth-div .experience-popup .btn {
  font-size: 12px;
}

#earth-div .we-pm-icon {
  background-image: none;
  overflow: hidden;
  width: 30px !important;
  height: 30px !important;
}

#earth-div .we-pm-icon .location-marker {
  cursor: pointer;
  margin-top: -12px;
}

.we-pp .we-pp-content p {
  margin: 0 0 10px;
  text-align: left;
}
